/*
 * Copyright 2005-2013 finalist.cn. All rights reserved.
 * Support: http://www.finalist.cn
 * License: http://www.finalist.cn/license
 */
package com.finalist.service.impl;

import javax.annotation.Resource;

import org.springframework.cache.annotation.CacheEvict;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.finalist.dao.AdDao;
import com.finalist.dao.AdminDao;
import com.finalist.dao.OpenUnionDao;
import com.finalist.entity.Ad;
import com.finalist.entity.OpenUnion;
import com.finalist.service.AdService;
import com.finalist.service.OpenUnionService;


@Service("openUnionServiceImpl")
public class OpenUnionServiceImpl extends BaseServiceImpl<OpenUnion, Long> implements OpenUnionService {
	
	@Resource(name = "openUnionDaoImpl")
	private OpenUnionDao openUnionDao;
	
	@Resource(name = "openUnionDaoImpl")
	public void setBaseDao(OpenUnionDao openUnionDao) {
		super.setBaseDao(openUnionDao);
	}

	@Override
	public OpenUnion findByopenId(String openId) {
		return openUnionDao.findByopenId(openId);
	}

	

}